#!/usr/bin/env python
# coding:utf8
"""
作者:pawn
邮箱:pawn9537@gmail.com
日期:18-1-9
时间:下午3:37
"""


class ItickException(Exception):
    def __init__(self, code, message):
        self.__code = code
        self.__message = message

    def __repr__(self):
        return u"AliPayException<code:{}, message:{}>".format(self.__code, self.__message)

    def __unicode__(self):
        return u"AliPayException<code:{}, message:{}>".format(self.__code, self.__message)